Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: API description with openapi + scalar #32

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

cmdoret
Copy link
Member

@cmdoret cmdoret commented Dec 16, 2024

This PR uses apistos to generate openapi specs and render the documentation in scalar.

The docs are served at / when the server is running.

Breaking changes

Changed the API routes to be more explicit:

  • GET /list -> GET /collections
  • GET /top -> GET /codes/top

@cmdoret cmdoret linked an issue Dec 16, 2024 that may be closed by this pull request
@cmdoret cmdoret self-assigned this Dec 16, 2024
@cmdoret cmdoret added the documentation Improvements or additions to documentation label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[fuzon-http] OpenAPI spec integration
1 participant